let { format } = require('date-fns')

const getTimeWithStamp = (timestamp) => {
  return format(new Date(timestamp), 'yyyy-MM-dd HH:mm:ss')
}

module.exports = {
  getTimeWithStamp
}